home *** CD-ROM | disk | FTP | other *** search
/ Best of www.BestZips.com (Collector's Edition) / Best of WWW.BESTZIPS.COM Collector's Edition (JCSM Shareware) (JCS Marketing).ISO / uother__ / rcr01.zip / RCR.DOC < prev    next >
Text File  |  1997-01-01  |  18KB  |  336 lines

  1.  
  2.      Rosenthal Engineering P.O.Box 1650, San Luis Obispo CA USA 93406         
  3.       U.S. Patent No. 5,359,659, Copyright 1996 all rights reserved.
  4.  
  5.       WWW http://slonet.org/~doren/         e-mail doren@slonet.org
  6.  
  7.                Rosenthal Engineering Conflict Resolver (tm)
  8.  
  9. Hardware and software diagnostics combine to identify, resolve and prevent 
  10. all PC system conflicts for DOS, Windows, Windows 95, Windows NT and OS/2. 
  11. From  the  earliest  PCs  to  today's  most  sophisticated   Plug-and-Play 
  12. components,  all  are  supported  even  when  systems  mix  old  and   new 
  13. technologies. 
  14.  
  15. A special "Analyzer" circuit board (included with registration) plugs into 
  16. any  standard (ISA or EISA) card slot and monitors the actual DMA  (direct 
  17. memory  access) and IRQ (interrupt request) electrical  signals  directly, 
  18. assuring  absolute accuracy. The "Analyzer" is totally transparent to  the 
  19. system  and not affected by software,  operating system, or  configuration 
  20. errors, allowing normal operation while collecting IRQ and DMA usage.
  21.  
  22. The  test diskette remains in the floppy drive during system  reset  which 
  23. loads  a special diagnostic program ahead of the operating system  without 
  24. modifying  the hard drive boot sector. True hardware measurements made  by 
  25. the "Analyzer" board are the most accurate, but this diagnostic program is 
  26. useful with or without the "Analyzer" circuit board installed.
  27.  
  28.                        Suspecting Conflict Problems
  29.  
  30. Today's complex computers employ a large variety of dedicated circuits and 
  31. software, each designed to perform their own specific tasks. Every circuit 
  32. board that plugs into the computer and software program that supports that 
  33. board  must cooperate with the others. Unless every portion of the  system 
  34. is  correctly configured, conflicts between different devices  will  cause 
  35. problems.
  36.  
  37. Configuration   conflicts  range  from  subtle  sluggish   or   unreliable 
  38. performance, to unexplained system crashes, data loss, programs that won't 
  39. work  properly, and even dead systems. Some conflicts will be obvious  and 
  40. crash the system when a particular device is used with another, or display 
  41. error messages like:
  42.  
  43. "Device Failure. Try changing the driver for this device".
  44.  
  45. "Windows cannot determine which resources this device is using."
  46.  
  47. "This  device is not present, not working properly, or does not  have  all 
  48. the drivers installed."
  49.  
  50. Rosenthal  Conflict Resolver insures systems are configured  correctly  or 
  51. optimized  before  installing  additional  new  devices,  peripherals,  or 
  52. operating systems like Windows 95, NT or OS/2. 
  53.  
  54.                         DMA, IRQ and I/O
  55.  
  56. The terms DMA, IRQ and I/O and interrupts are used throughout this and the 
  57. manuals included with periperals being installed, so a basic understanding 
  58. of what they mean will help considerably. When a circuit board plugs  into 
  59. one of the slots within the computer, the edge connector, where the  board 
  60. and  computer  contact each other, passes electrical signals  between  the 
  61. card  and  the other components of the computer.  Each  different  contact 
  62. carries  an  electrical  signal dedicated to a  specific  function.  These 
  63. electrical signal levels change millions of times a second. 
  64.  
  65. Address lines, for example, select different input and output (I/O) device 
  66. registers, so circuit boards are configured to each appear at a  different 
  67. address. 
  68.  
  69. People  are used to ten digit numbers, because our number system is  based 
  70. on  us having ten fingers. Since it only takes four fingers (or  bits)  to 
  71. represent  a  number from zero through fifteen, computers  make  the  most 
  72. efficient  use of each address line by employing a  hexadecimal  numbering 
  73. system for I/O addresses.
  74.  
  75.      Bits   Decimal  Hex                Bits Decimal  Hex
  76.      0000      0      0                 1000    8      8     
  77.      0001      1      1                 1001    9      9
  78.      0010      2      2                 1010   10      A
  79.      0011      3      3                 1011   11      B
  80.      0100      4      4                 1100   12      C
  81.      0101      5      5                 1101   13      D 
  82.      0110      6      6                 1110   14      E
  83.      0111      7      7                 1111   15      F
  84.              
  85. When the computer needs to address a circuit board plugged into one of the 
  86. card slots, it sets the electrical levels of each address line to a number 
  87. that  corresponds to where it expects to find the device. Both the  device 
  88. driver  servicing  the board, and the board itself need to be set  to  the 
  89. same  address.  It's  important that the correct  device  (and  only  that 
  90. device) resides at each address or an I/O conflict will result.
  91.  
  92. Other  connector  pins carry Interrupt ReQuest  (IRQ)  electrical  signals 
  93. between the computer and the circuit boards. IRQ lines allow the different 
  94. components to signal the processor to interrupt what it's currently doing, 
  95. and service the device demanding attention. 
  96.  
  97. Direct  Memory  Access  (DMA)  allows devices  to  move  large  blocks  of 
  98. information  directly  in  and out of memory  without  going  through  the 
  99. processor.  DMA electrical signals also appear on pins of the connector.   
  100.  
  101. Originally, only short XT card connector slots were available, but with AT 
  102. class systems a second longer connector was added so additional pins could 
  103. be used to support an increased number of IRQ and DMA channels. There  are 
  104. only a limited number of IRQ and DMA lines, and many are already dedicated 
  105. to service components on the motherboard.
  106.  
  107. To  assign  a device to an IRQ and/or DMA channel, an  electrical  contact 
  108. needs  to  carry  the  voltage between the appropriate  pin  of  the  edge 
  109. connector  and the electronic circuit on the board exchanging the  IRQ  or 
  110. DMA signal. Depending on the design of each plug in circuit board, IRQ and 
  111. DMA channels get selected by routing them electrically to the  appropriate 
  112. connector   pins   using   jumpers,  switch   positions,   or   electronic 
  113. configuration.
  114.  
  115. Each DMA, IRQ and I/O address must correctly correspond to the  electrical 
  116. circuit on the plug-in board and the software that supports it. 
  117.  
  118.                             Conflicts
  119.  
  120. The two causes for the majority of today's lock-ups and system crashes are 
  121. resource  conflicts and related device driver incompatibilities.  Resource 
  122. conflicts occur because different peripherals demand exclusive use of  IRQ 
  123. and DMA which may have been assigned to another device at the same time.
  124.  
  125. Device  driver  incompatibilities  are quite common  in  Windows  95.  For 
  126. example Windows 95 may accept an old driver for an existing card that will 
  127. only  works under Windows 3.1, or may incorrectly identify a card  or  the 
  128. IRQ and DMA lines it uses and supply the wrong driver.
  129.  
  130. Finding  a  free IRQ or DMA available can often be  difficult,  especially 
  131. when  some  cards will only accept a specific IRQ or DMA  which  may  have 
  132. already been assigned elsewhere. With some cards requiring several of  the 
  133. limited  number IRQ and DMA lines, conflicts are often difficult to  avoid 
  134. and  correcting  was  an extremely  frustrating  experience.   Before  the 
  135. Rosenthal  Conflict Resolver was developed, there was no practical way  to 
  136. observe and identify IRQ and DMA activity within a system during use.
  137.  
  138.               Pre-existing Mixed with Plug-and-Play      
  139.  
  140. As  demands for faster and more complex hardware and software have  grown, 
  141. getting  them  all to cooperate has been an increasingly  difficult  task.  
  142. For example, it's now quite common among on-line users for  modems, mouse, 
  143. sound  cards,  video graphics and disk drives to all require DMA  and  IRQ 
  144. service at the same time.
  145.  
  146. In  an effort to relieve some of the configuration problems, the  industry 
  147. has  developed new design specifications called "Plug-and-Play".  Ideally, 
  148. it should be possible to just plug in a new board, turn on the system  and 
  149. have everything work. The reality is that not everything will recognize or 
  150. conform  to Plug-and-Play. Some fall outside the requirements,  some  pre-
  151. existing  components (referred to as "legacy") predate  the  Plug-and-Play 
  152. specifications, and some specialized components ignore them altogether.
  153.  
  154. Some   cards  (like  sound  and  multimedia)  support  several   different 
  155. configurations  or  emulate  other products  standards  depending  on  the 
  156. software  being  run  at  the time. It's not  uncommon  for  one  game  to 
  157. configure  a board to work in several different modes while  another  game 
  158. using the same board configures it to a different mode which won't work at 
  159. all. 
  160.  
  161. To  accommodate  a  mix  of plug and play with  non  compliant  or  legacy 
  162. devices,  Win95  includes  a "Device Manager"  and  a  "Conflict  Trouble-
  163. shooter".  The Trouble-shooter is an interactive Windows help  file  which 
  164. will  guide  you through the Device Manager. Both these  programs  require 
  165. Windows  to  be operational to use. If you have a conflict  that  prevents 
  166. Windows from running, you also won't be able to use these tools to fix the 
  167. problem.
  168.  
  169. To  avoid  and resolve conflicts, you must first determine  which  of  the 
  170. eighteen  IRQ and DMA lines of interest have been assigned and  which  are 
  171. available.  The  only way to identify with absolute  certainty  which  are 
  172. being  activated for all the hardware devices (Plug-and-Play compliant  or 
  173. not),  is to measure the electrical signals at the pins on  the  connector 
  174. while  the  device is being exercised. That's where the  "Analyzer"  comes 
  175. into play.
  176.  
  177.                  Watching IRQ and DMA in Action   
  178.  
  179. To determine which IRQ and DMA lines are in use, they must be monitored at 
  180. the  hardware  level  while  each  device  is  exercised.   Electronically 
  181. configured devices that support many different modes (sound and multimedia 
  182. cards for example) need to be exercised in every mode they operate in. 
  183.  
  184. The Rosenthal Conflict Resolver uses two methods to watch the hardware DMA 
  185. and  IRQ lines as they are being used. The most effective and reliable  is 
  186. the  "Analyzer"  circuit board that plugs into the computer  and  directly 
  187. monitors the actual electrical signals at the connector. The second,  less 
  188. accurate method, watches the hardware circuits through a special  software 
  189. program  that gets loaded ahead of the operating system when the  computer 
  190. is first turned on, during the boot up process.
  191.  
  192. With the "Analyzer" board plugged into the system, as each hardware device 
  193. is  exercised, indicator lights display the IRQ and DMA being  used.  When 
  194. two  conflicting devices attempt to share a single IRQ or DMA,  both  will 
  195. cause the indicator to display. 
  196.  
  197. Indicators  for  unused IRQ and DMA lines remain dark  and  are  therefore 
  198. available for assignment. Simply assign new or conflicting devices to  the 
  199. unused lines and conflicts are resolved or avoided. The "Analyzer" circuit 
  200. board makes it just that simple.
  201.  
  202. Watching  the  IRQ  and DMA hardware lines through software  is  far  more 
  203. difficult  and less accurate than using the plug in "Analyzer" board.  The 
  204. software  method can be used in conjunction with the board, or  when  it's 
  205. not practical to use a plug-in circuit board. 
  206.  
  207.                Using the "Analyzer" Circuit Board
  208.  
  209. The  "Analyzer"  is  included with paid registration.  It  consists  of  a 
  210. special  diagnostic circuit board that plugs into a slot on  the  computer 
  211. and directly monitors the IRQ and DMA electrical signals at the connector.
  212.  
  213. Disconnect  the  power  whenever you insert or  remove  anything  in  your 
  214. computer. Plug the board carefully into the (ISA (XT/AT), EISA, PCI,  VLB) 
  215. slot before turning the power back on.
  216.  
  217. The  signals  on  the connector pins consist of impulses  that  change  in 
  218. voltage  levels millions of times each second. These signals are much  too 
  219. fast for people to observe without a special instrument, so the "Analyzer" 
  220. converts them to easily observed indication lights. 
  221.  
  222. IRQ  and DMA lines are observed using the "Analyzer" board  during  actual 
  223. operation   without   causing  interference  because  it   is   completely 
  224. transparent  to the system. The "Analyzer" instantly reports any  and  all 
  225. IRQ  or DMA requests with 100% accuracy unobtainable by  software  methods 
  226. alone.  All  IRQ and DMA usage is reported, and misconfigured IRQ  or  DMA 
  227. usage is revealed and never reported falsely.
  228.  
  229.                  Loading the Diagnostic Software
  230.  
  231. Performing  the  function of the "Analyzer" board in software  requires  a 
  232. special diagnostic program that loads ahead of the normal operating system 
  233. during the boot process. Any software that attempts to monitor IRQ and DMA 
  234. activity will add some load to the system and be less transparent as  well 
  235. as being less accurate than true hardware level   diagnostics, but may  be 
  236. sufficient or more practical.
  237.  
  238. A  test diskette is created first that loads diagnostics into  the  system 
  239. ahead  of  the operating system and before the normal  boot  process.  The 
  240. special test diskette is left in the A: drive and the system is reset. The 
  241. diagnostic  program   loads,  followed by the normal  boot  process  which 
  242. continues  by loading the operating system from the hard drive  as  usual. 
  243. Because the diagnostic program takes control before the operating  system, 
  244. IRQ and DMA activity is reported more accurately.
  245.  
  246. Information  on  IRQ and DMA activity is collected as the system  is  used 
  247. normally, with a display similar to the indicator lights of the "analyzer" 
  248. board displayed in the corner of text screens.
  249.  
  250.                   Using the Diagnostic Software
  251.  
  252. After  booting the system from the special diagnostic  diskette,  exercise 
  253. all  the hardware and drivers including the mouse, printers, modem,   etc. 
  254. Be  sure   multimedia and sound cards get operated in  as  many  different 
  255. modes  as  they support. Demo programs supplied with the hardware  can  be 
  256. quite  helpful  to insure all the modes get used. Then run  the  Rosenthal 
  257. Conflict Resolver to analyze the data that was collected.
  258.  
  259. Both a simplified digested report and a more detailed expanded report  are 
  260. available. A text file RCR.DAT is produced that's convenient to review  or 
  261. share by printing, modem or FAX with service or technical support people. 
  262.  
  263. IRQ  and  DMA  lines  that are dedicated  to  fixed  functions  and  never 
  264. available  are  not monitored or reported. These are used  by  the  system 
  265. timer  (IRQ 0), keyboard (IRQ 1), second IRQ controller on ATs (IRQ 2)  or 
  266. second  AT  DMA  controller  (DMA  4),  real  time  clock  (IRQ  8),  math 
  267. coprocessor (IRQ 13).
  268.  
  269. To return the system to normal, remove the special test diskette, and then 
  270. power off and restart the system without the diskette in place. No changes 
  271. are ever made to the hard drive boot sector or the operating system. 
  272.  
  273.                           Orders Outside the U.S
  274.  
  275. All  international  orders  are  sent by  air-mail.  See  the  order  form 
  276. (ORDER.FRM)  for shipping and handling rates. Please be sure to make  your 
  277. payment in "US Dollars" either by (US) cash, international money order  or 
  278. check  drawn  on  a US member bank. Otherwise banks want  a  fifty  dollar 
  279. processing fee to cash a twenty five dollar check. Sorry, no euro-checks.
  280.  
  281. Visa  or  Master  Card orders can be processed if  you  include  the  card 
  282. holders name, card number and expiration date on the order form. 
  283.  
  284.          -    -    -    -    -    -    -    -    -    -    -    -
  285.  
  286.             Computer Manufacturers, Resellers and Consultants
  287.  
  288. This program is especially appreciated by customers during their  critical 
  289. first month and falls within the FREE evaluation period. Providing  copies 
  290. or  installing the complete unregistered version on customers  systems  is 
  291. acceptable, and encouraged. 
  292.  
  293. Rosenthal System Monitor (tm) is also recommended for installation on  new 
  294. or updated systems, and including the unregistered version is encouraged. 
  295.  
  296.          -    -    -    -    -    -    -    -    -    -    -    -
  297.  
  298.                         More Information
  299.  
  300. "IRQ, DMA, & I/O Resolving and Preventing PC System Conflicts"
  301. Jim Aspinwall . ISBN 1-55828-456-7 MIS:Press
  302.  
  303. Intel Plug-and-Play Specifications and Toolkits release 1.44
  304.  
  305.          -    -    -    -    -    -    -    -    -    -    -    -
  306.  
  307.                         Software License agreement
  308.  
  309. You  are  encouraged  to copy and distribute  this  software  provided  it 
  310. remains unmodified, complete in its original form, and no fee (other  than 
  311. a  nominal  copy charge) is required. This software is  provided  "as  is" 
  312. without warranty either expressed or implied.
  313.  
  314. You may not make any changes or modifications to the software, and you may 
  315. not decompile, disassemble or in anyway reverse engineer the software. 
  316.  
  317. This  software  is  provided  "as is"  without  warranties  of  any  kind. 
  318. Responsibility rests entirely with the user to determine its fitness for a 
  319. particular purpose. ROSENTHAL ENGINEERING SHALL NOT IN ANY CASE BE  LIABLE 
  320. FOR SPECIAL, INCIDENTAL, CONSEQUENTIAL, INDIRECT OR OTHER SIMILAR  DAMAGES 
  321. ARISING  FROM  ANY USE OF THIS SOFTWARE. Some states may not  allow  these 
  322. limits  on  warranties,  so they may not apply to you. In  no  case  shall 
  323. Rosenthal  Engineering's liability exceed the license fees paid by you  to 
  324. Rosenthal  Engineering  for the right to use the Licensed  Software.  Use, 
  325. duplication, or disclosure by the U.S. Government of the computer software 
  326. and  documentation  in  this package shall be subject  to  the  restricted 
  327. rights  applicable  to  commercial  computer  software  as  set  forth  in 
  328. subdivision  (b)  (3) (ii) of the Rights in Technical  Data  and  Computer 
  329. Software    clause    at    252.227-7013    (DFARS    52.227-7013).    The 
  330. Contractor/manufacturer is Doren Rosenthal, Rosenthal Engineering, P.O.Box 
  331. 1650, San Luis Obispo, California 93406.
  332.  
  333. This  constitutes  the  entire agreement  and  understanding  between  the 
  334. parties  and supersedes any prior agreement or understanding whether  oral 
  335. or written and may only be modified in writing.